+Thu Jul 9 21:03:19 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
+
+ * gtk/gtkpreview.c: add in just enough support for 1 or 4 bits
+ so that it seems to allow normal operation in those modes,
+ although you will only see black (GIMP toolbar now pops up,
+ just don't create a new image and GIMP now works in 4 bit.)
+
Thu Jul 9 20:20:04 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
* gdk/gdkvisuals.c: 4 bit support, increased available_depths
+Thu Jul 9 21:03:19 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
+
+ * gtk/gtkpreview.c: add in just enough support for 1 or 4 bits
+ so that it seems to allow normal operation in those modes,
+ although you will only see black (GIMP toolbar now pops up,
+ just don't create a new image and GIMP now works in 4 bit.)
+
Thu Jul 9 20:20:04 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
* gdk/gdkvisuals.c: 4 bit support, increased available_depths
+Thu Jul 9 21:03:19 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
+
+ * gtk/gtkpreview.c: add in just enough support for 1 or 4 bits
+ so that it seems to allow normal operation in those modes,
+ although you will only see black (GIMP toolbar now pops up,
+ just don't create a new image and GIMP now works in 4 bit.)
+
Thu Jul 9 20:20:04 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
* gdk/gdkvisuals.c: 4 bit support, increased available_depths
+Thu Jul 9 21:03:19 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
+
+ * gtk/gtkpreview.c: add in just enough support for 1 or 4 bits
+ so that it seems to allow normal operation in those modes,
+ although you will only see black (GIMP toolbar now pops up,
+ just don't create a new image and GIMP now works in 4 bit.)
+
Thu Jul 9 20:20:04 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
* gdk/gdkvisuals.c: 4 bit support, increased available_depths
+Thu Jul 9 21:03:19 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
+
+ * gtk/gtkpreview.c: add in just enough support for 1 or 4 bits
+ so that it seems to allow normal operation in those modes,
+ although you will only see black (GIMP toolbar now pops up,
+ just don't create a new image and GIMP now works in 4 bit.)
+
Thu Jul 9 20:20:04 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
* gdk/gdkvisuals.c: 4 bit support, increased available_depths
+Thu Jul 9 21:03:19 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
+
+ * gtk/gtkpreview.c: add in just enough support for 1 or 4 bits
+ so that it seems to allow normal operation in those modes,
+ although you will only see black (GIMP toolbar now pops up,
+ just don't create a new image and GIMP now works in 4 bit.)
+
Thu Jul 9 20:20:04 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
* gdk/gdkvisuals.c: 4 bit support, increased available_depths
+Thu Jul 9 21:03:19 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
+
+ * gtk/gtkpreview.c: add in just enough support for 1 or 4 bits
+ so that it seems to allow normal operation in those modes,
+ although you will only see black (GIMP toolbar now pops up,
+ just don't create a new image and GIMP now works in 4 bit.)
+
Thu Jul 9 20:20:04 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
* gdk/gdkvisuals.c: 4 bit support, increased available_depths
GDK_VISUAL_DIRECT_COLOR,
GDK_VISUAL_TRUE_COLOR,
GDK_VISUAL_DIRECT_COLOR,
- GDK_VISUAL_PSEUDO_COLOR
+ GDK_VISUAL_PSEUDO_COLOR,
+ GDK_VISUAL_STATIC_COLOR,
+ GDK_VISUAL_STATIC_GRAY
};
- static gint depths[] = { 24, 24, 32, 32, 16, 16, 15, 15, 8 };
+ static gint depths[] = { 24, 24, 32, 32, 16, 16, 15, 15, 8, 4, 1 };
static gint nvisual_types = sizeof (types) / sizeof (types[0]);
int i;
switch (klass->info.visual->depth)
{
+ case 1:
+ case 4:
case 8:
klass->info.bpp = 1;
break;